package com.cmcc.passenger.ui.places

import androidx.databinding.ObservableField
import androidx.lifecycle.ViewModel
import com.cmcc.passenger.data.entity.PlaceAutoComplete

class PlaceItemListViewModel(model : PlaceAutoComplete) {
    val firstAddress = ObservableField<String>(model.firstAddress)
    val secondAddress = ObservableField<String>(model.secondAddress)
    val isChecked = ObservableField<Boolean>(model.isAdded)
}